package cn.gyx.hrm.dto;

import cn.gyx.hrm.domain.Employee;
import cn.gyx.hrm.domain.Login;
import cn.gyx.hrm.domain.Tenant;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

@Data
public class TenantRegisterDto {
    @Valid
    private Employee employee;//管理员账号
    @Valid
    private Tenant tenant;// 机构
    @Valid
    private Login login;// 登录信息
    @NotNull(message = "请选择套餐类型")
    private Long mealId;//套餐id
}
